package org.cloud.core.common.jwt;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Violet
 * @description JWT 载荷
 * @date 2021/5/20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WeedPayload {
    //主键
    private String sub;
    //签发时间
    private Long iat;
    //过期时间
    private Long exp;
    //JWT ID
    private String jti;
    //用户id
    private Long userId;
}
